<?php

use yii\db\Migration;

/**
 * Class m171123_014959_change_property_name_the_housing
 */
class m171123_014959_change_property_name_the_housing extends Migration
{
    /**
     * @inheritdoc
     */
    public function safeUp()
    {
        $this->renameTable('{{%property}}', '{{%housing}}');

    }

    /**
     * @inheritdoc
     */
    public function safeDown()
    {
        $this->renameTable('{{%housing}}', '{{%property}}');
    }

}
